﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using TpsAutoSurvey_PDA_Version_.RealizedClasses;
using TpsAutoSurvey_PDA_Version_.SmsModule;
using TpsAutoSurvey_PDA_Version_.SocketModule;
using TpsAutoSurvey_PDA_Version_.Presenter;

namespace TpsAutoSurvey_PDA_Version_
{
    public partial class Mfrm : Form
    {
        public Mfrm()
        {
            InitializeComponent(); 
        }

        public void UpdateList(List<DateTime> times)
        {
            CustomTimeListBox.Items.Clear();
            foreach (DateTime t in times)
            {
                CustomTimeListBox.Items.Add(t.ToString("HH:mm"));
            }
        }
    }
}